//
//  PopoverView1TableViewCell.m
//  安好
//
//  Created by rlp on 14-12-9.
//  Copyright (c) 2014年 lianchuangbrother. All rights reserved.
//

#import "PopoverView1TableViewCell.h"

@implementation PopoverView1TableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)layoutSubviews

{
    
    [super layoutSubviews];
    
    [self.imageView setFrame:CGRectMake(10, 10,20, 20)];
    
    
    
    self.imageView.layer.cornerRadius = 10;
    self.imageView.layer.masksToBounds = YES;
    
    
    
    
    [self.textLabel setFrame:CGRectMake(self.imageView.frame.origin.x+self.imageView.frame.size.width+10, self.textLabel.frame.origin.y, self.frame.size.width-(self.imageView.frame.origin.x+self.imageView.frame.size.width+10+10), self.textLabel.frame.size.height)];
    
    self.imageView.contentMode = UIViewContentModeScaleAspectFit;
    
}


@end
